<template>
  <div class="header_container">
    <div class="header_wrpper"> 
      <div>{{this.nickname}}</div>
      <div><slot name="center" :title="this.$route.meta.title"></slot></div>
      <div></div>
    </div>
  </div>
</template>

<script>

export default {
  computed:{
    nickname:function(){
      return this.$store.state.nickname
    }
  }
}
</script>

<style scoped>
.header_container
{
  width: 100%;
  height: 64px;
  background-color: aquamarine;
  position: fixed;
  left: 0px;
  top: 0px;
}

.header_wrpper
{
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.header_wrpper div
{
  width: 33%;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
}
</style>